package com.mq.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface TravelRecommendationsMapper {
    @Select("SELECT * FROM travel_recommendations LIMIT #{count} OFFSET #{offset}")
    List<Map<String, Object>> getTravelRecommendationsList(
            Integer offset,
            Integer count
    );
}
